<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	  xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>考勤管理修改、保存表单</title>
<div th:replace="common/commoncss :: commoncss"></div>

<link href="css/common/checkbox.css" rel="stylesheet" th:href="@{/css/common/checkbox.css}"/>
<link href="css/common/iconfont.css"  rel="stylesheet" th:href="@{/css/common/iconfont.css}"/>
<script type="text/javascript" src="easyui/jquery.min.js" th:src="@{/easyui/jquery.min.js}"></script>
<script type="text/javascript" src="js/iconfont.js" th:src="@{/js/iconfont.js}"></script>
<script type="text/javascript" src="plugins/My97DatePicker/WdatePicker.js" th:src="@{/plugins/My97DatePicker/WdatePicker.js}"></script>
<style>

   
.box{
	position: relative;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	padding: 10px 0px 10px 10px;
}

.box-body .form-group{
	margin-bottom: 15px;
}
.box .box-body .text{
	min-height: 114px;
}
.box .box-body .row .ischeck{
	width: 28px;
	height: 28px;
}
	.label-back {
    background-color: #6C7B8B;
    color: white;
    }
    .label-back:hover{
    	color: white !important;
    }

    .accpet{
    	position:absolute;
    	top:30px;
    	right:20px;
    	background-color: #00a65a;
    	color:white;
    	width: 74px;
    	height:25px;
    	font-size:10px;
    	padding: 0 0 2px;
    	text-align:center;
    	line-height: 25px;
    }
    .accpet:hover{
    	color: white !important;
    }
</style>
</head>
	<body>
		<div class="box increase">
			<form th:action="@{/attendcesave}" method="post">
					<div class="box-header">
						<a class="btn label-back" href="javascript:void(0);"  onclick="window.history.back();">
							<span class="glyphicon glyphicon-chevron-left" ></span>返回
						</a>
					</div>

					<div class="box-body">
						<div class="row">
							<input type="hidden" name="attendsId" th:value="${aoaAttendsList.attendsId}" >
							<div class="col-md-6 form-group">
								<label class="control-label"><span>状态</span></label>
								<select class="form-control" name="status">
									<option th:each="status:${statusList}"
											th:selected="${status.sortValue eq aoaAttendsList.status}"
											th:value="${status.sortValue}"
											th:text="${status.statusName}"></option>
								</select>
							</div>
							<div class="col-md-6 form-group">
								<label class="control-label">备注</label>
								<input class="form-control remark" name="attendsRemark" th:value="${aoaAttendsList.attendsRemark}"/>
							</div>
							<div class="col-md-6 form-group">
								<label class="control-label"><span>类型</span></label>
								<select class="form-control" name="type">
									<option th:each="type:${typeList}"
											th:selected="${type.sortValue eq aoaAttendsList.type}"
											th:value="${type.sortValue}"
											th:text="${type.typeName}"></option>
								</select>
							</div>
						</div>
					</div>
					<div class="box-footer">
						<input class="btn btn-primary" id="save" type="submit" value="保存"  />
						<input class="btn btn-default active" id="cancel" type="submit" value="取消" onclick="window.history.back();"/>
					</div>
			</form>
		</div>
	</body>
</html>
